home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17671 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: newsfeed.rice.edu!rice!landau!karsten
  2. From: karsten@landau.rice.edu (Karsten E. Braaten)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Templates as the type of a template
  5. Date: 17 Apr 1996 01:24:55 GMT
  6. Organization: Dept. of Space Physics & Astronomy, Rice U., Houston
  7. Message-ID: <4l1h97$fap@larry.rice.edu>
  8. References: <316D1587.167EB0E7@kainos.com>
  9. NNTP-Posting-Host: landau.rice.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Andrew Palmer (a.palmer@kainos.com) wrote:
  13. >   But I don't seem to be able to have a list of vectors of type int,
  14. > e.g. "list<vector<int>> foobar;" doesn't work.
  15.                        ^^
  16.     The complier is going to interpret >> as the operator that it is,
  17. rather than two close brackets.
  18. Insert a space:  list<vector<int> > foobar;
  19. Peace...
  20. --
  21. * karsten@rice.edu   * People, not commercial organizations or chains of
  22. * Space Physics 211  * command, are what make great civilizations work.
  23. * Rice University    * Every civilization depends upon the quality of
  24. * Houston, TX  77251 * the individuals it produces.
  25. * (713)527-8750x2701 *        --from Frank Herbert's "Dune"
  26.